#ifndef CALIBRATIONOBJECTIVEFORM_H
#define CALIBRATIONOBJECTIVEFORM_H

#include <QWidget>

namespace Ui {
class CalibrationObjectiveForm;
}

class CalibrationObjectiveForm : public QWidget
{
    Q_OBJECT

public:
    explicit CalibrationObjectiveForm(QWidget *parent = nullptr);
    ~CalibrationObjectiveForm();

private:
    Ui::CalibrationObjectiveForm *ui;

    void setCurrentHeight(bool checked,QWidget*_inWidget,bool isChangeStackedWidget=false);

protected:
    virtual void paintEvent(QPaintEvent*event) override;
private slots:
    void on_pushButton_tool_clicked(bool checked);
    void initExpendWidget(int _index);
    void on_comboBox_currentIndexChanged(int index);
    void on_toolButton_contractExpand_skewing_clicked(bool checked);
    void on_stackedWidget_currentChanged(int arg1);
    void on_toolButton_contractExpand_flat_clicked(bool checked);
    void on_toolButton_contractExpand_confocalFlattening_clicked(bool checked);
    void on_toolButton_contractExpand_chromatism_clicked(bool checked);
    void on_toolButton_contractExpand_fusion_clicked(bool checked);
    void on_toolButton_contractExpand_zFactorLs_clicked(bool checked);
    void on_toolButton_contractExpand_amplificationFactor_clicked(bool checked);
    void on_toolButton_contractExpand_psi_clicked(bool checked);
    void on_toolButton_contractExpand_csi_clicked(bool checked);
    void on_toolButton_contractExpand_zFactor_clicked(bool checked);
    void on_pushButton_restore_clicked(bool checked);
    void on_pushButton_delete_clicked(bool checked);
};

#endif // CALIBRATIONOBJECTIVEFORM_H
